package com.raven.craft.code.generator.mysql.schema.md;

import com.google.common.collect.Lists;
import com.raven.craft.code.generator.config.BaseProperties;
import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author raven
 * @date 2019-06-06 11:49
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "generator.mysql.mdschema")
public class MdSchemaProperties extends BaseProperties {

    private String templatePath = "/templates/schema/schema";

    private List<String> titles = Lists.newArrayList("field", "columnType", "nullable", "keyType", "comment");

}
